import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入全局样式
import '@/assets/global.css'
import dataV from '@jiaminghi/data-view'
// 适配flex
import '@/common/flexible.js';
Vue.use(dataV)
// 按需引入vue-awesome图标
import Icon from 'vue-awesome/components/Icon';
import 'vue-awesome/icons/chart-bar.js';
import 'vue-awesome/icons/chart-area.js';
import 'vue-awesome/icons/chart-pie.js';
import 'vue-awesome/icons/chart-line.js';
import 'vue-awesome/icons/align-left.js';
//引入echart
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
// 全局注册图标
Vue.component('icon', Icon);
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
